<div id="stars">
    <ul class="rating" ng-mouseleave="leave()">
        <li ng-repeat="star in stars" ng-class="star" ng-click="click($index + 1)" ng-mouseover="over($index + 1)">
            <i class="iconfont icon-star"></i>
        </li>
    </ul>
</div>